# @summary A short summary of the purpose of this class
#
# A description of what this class does
#
# @example
#   include clusters::oneapi
class clusters::oneapi{
  if $operatingsystemmajrelease >= '7' {
    $intel_oneapi=[
      "intel-basekit",
    ]

    yumrepo {"Oneapi":
      baseurl  => "http://${mirrorserver}/yum/intel/oneapi",
      descr    => "intel oenapi",
      enabled  => 1,
      gpgcheck => 0,
      priority => 20,
      before   => Yumrepo['site']
    } ->

    package{ $intel_oneapi:
      ensure    => "installed",
      require   => Yumrepo['site'],
    }
  }
}
